<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSUsersAuthorizations" targetNamespace="http://tempuri.org/DSUsersAuthorizations.xsd" xmlns:mstns="http://tempuri.org/DSUsersAuthorizations.xsd" xmlns="http://tempuri.org/DSUsersAuthorizations.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="EventList" GeneratorFunctionsComponentClassName="EventList" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="EventList" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="HSHConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="HSHConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.HSHConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersAuthorizationsTableAdapter" GeneratorDataComponentClassName="UsersAuthorizationsTableAdapter" Name="UsersAuthorizations" UserDataComponentName="UsersAuthorizationsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="HSH_Prod.dbo.GetUsersAuthorizations" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetUsersAuthorizations</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserFullName" DataSetColumn="UserFullName" />
              <Mapping SourceColumn="AuthLevelName" DataSetColumn="AuthLevelName" />
              <Mapping SourceColumn="KenName" DataSetColumn="KenName" />
              <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
              <Mapping SourceColumn="KenID" DataSetColumn="KenID" />
              <Mapping SourceColumn="AuthLevelId" DataSetColumn="AuthLevelId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersEventAuthorizationTableAdapter" GeneratorDataComponentClassName="UsersEventAuthorizationTableAdapter" Name="UsersEventAuthorization" UserDataComponentName="UsersEventAuthorizationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnectionString (Web.config)" DbObjectName="HSH_Prod.dbo.GetUsersEventAuthorizations" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetUsersEventAuthorizations</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="0" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserFullName" DataSetColumn="UserFullName" />
              <Mapping SourceColumn="AuthLevelName" DataSetColumn="AuthLevelName" />
              <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
              <Mapping SourceColumn="AuthLevelId" DataSetColumn="AuthLevelId" />
              <Mapping SourceColumn="EventID" DataSetColumn="EventID" />
              <Mapping SourceColumn="EventName" DataSetColumn="EventName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventListTableAdapter" GeneratorDataComponentClassName="EventListTableAdapter" Name="EventList" UserDataComponentName="EventListTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="HSH_prod.dbo.Events" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="false" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     EventID, EventName
FROM         Events
WHERE     (IsDeleted = 0)
ORDER BY StartDate, EventName</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EventID" DataSetColumn="EventID" />
              <Mapping SourceColumn="EventName" DataSetColumn="EventName" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSUsersAuthorizations" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DSUsersAuthorizations" msprop:Generator_UserDSName="DSUsersAuthorizations">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UsersAuthorizations" msprop:Generator_UserTableName="UsersAuthorizations" msprop:Generator_RowEvArgName="UsersAuthorizationsRowChangeEvent" msprop:Generator_TableVarName="tableUsersAuthorizations" msprop:Generator_TablePropName="UsersAuthorizations" msprop:Generator_RowDeletingName="UsersAuthorizationsRowDeleting" msprop:Generator_RowChangingName="UsersAuthorizationsRowChanging" msprop:Generator_RowDeletedName="UsersAuthorizationsRowDeleted" msprop:Generator_TableClassName="UsersAuthorizationsDataTable" msprop:Generator_RowChangedName="UsersAuthorizationsRowChanged" msprop:Generator_RowEvHandlerName="UsersAuthorizationsRowChangeEventHandler" msprop:Generator_RowClassName="UsersAuthorizationsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserFullName" msprop:Generator_ColumnVarNameInTable="columnUserFullName" msprop:Generator_ColumnPropNameInRow="UserFullName" msprop:Generator_ColumnPropNameInTable="UserFullNameColumn" msprop:Generator_UserColumnName="UserFullName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AuthLevelName" msprop:Generator_ColumnVarNameInTable="columnAuthLevelName" msprop:Generator_ColumnPropNameInRow="AuthLevelName" msprop:Generator_ColumnPropNameInTable="AuthLevelNameColumn" msprop:Generator_UserColumnName="AuthLevelName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KenName" msprop:Generator_ColumnVarNameInTable="columnKenName" msprop:Generator_ColumnPropNameInRow="KenName" msprop:Generator_ColumnPropNameInTable="KenNameColumn" msprop:Generator_UserColumnName="KenName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" type="xs:int" />
              <xs:element name="KenID" msprop:Generator_ColumnVarNameInTable="columnKenID" msprop:Generator_ColumnPropNameInRow="KenID" msprop:Generator_ColumnPropNameInTable="KenIDColumn" msprop:Generator_UserColumnName="KenID" type="xs:int" />
              <xs:element name="AuthLevelId" msprop:Generator_ColumnVarNameInTable="columnAuthLevelId" msprop:Generator_ColumnPropNameInRow="AuthLevelId" msprop:Generator_ColumnPropNameInTable="AuthLevelIdColumn" msprop:Generator_UserColumnName="AuthLevelId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UsersEventAuthorization" msprop:Generator_UserTableName="UsersEventAuthorization" msprop:Generator_RowEvArgName="UsersEventAuthorizationRowChangeEvent" msprop:Generator_TableVarName="tableUsersEventAuthorization" msprop:Generator_TablePropName="UsersEventAuthorization" msprop:Generator_RowDeletingName="UsersEventAuthorizationRowDeleting" msprop:Generator_RowChangingName="UsersEventAuthorizationRowChanging" msprop:Generator_RowDeletedName="UsersEventAuthorizationRowDeleted" msprop:Generator_TableClassName="UsersEventAuthorizationDataTable" msprop:Generator_RowChangedName="UsersEventAuthorizationRowChanged" msprop:Generator_RowEvHandlerName="UsersEventAuthorizationRowChangeEventHandler" msprop:Generator_RowClassName="UsersEventAuthorizationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserFullName" msprop:Generator_ColumnVarNameInTable="columnUserFullName" msprop:Generator_ColumnPropNameInRow="UserFullName" msprop:Generator_ColumnPropNameInTable="UserFullNameColumn" msprop:Generator_UserColumnName="UserFullName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AuthLevelName" msprop:Generator_ColumnVarNameInTable="columnAuthLevelName" msprop:Generator_ColumnPropNameInRow="AuthLevelName" msprop:Generator_ColumnPropNameInTable="AuthLevelNameColumn" msprop:Generator_UserColumnName="AuthLevelName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" type="xs:int" />
              <xs:element name="AuthLevelId" msprop:Generator_ColumnVarNameInTable="columnAuthLevelId" msprop:Generator_ColumnPropNameInRow="AuthLevelId" msprop:Generator_ColumnPropNameInTable="AuthLevelIdColumn" msprop:Generator_UserColumnName="AuthLevelId" type="xs:unsignedByte" />
              <xs:element name="EventID" msprop:Generator_ColumnVarNameInTable="columnEventID" msprop:Generator_ColumnPropNameInRow="EventID" msprop:Generator_ColumnPropNameInTable="EventIDColumn" msprop:Generator_UserColumnName="EventID" type="xs:int" />
              <xs:element name="EventName" msprop:Generator_ColumnVarNameInTable="columnEventName" msprop:Generator_ColumnPropNameInRow="EventName" msprop:Generator_ColumnPropNameInTable="EventNameColumn" msprop:Generator_UserColumnName="EventName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EventList" msprop:Generator_TableClassName="EventListDataTable" msprop:Generator_RowEvArgName="EventListRowChangeEvent" msprop:Generator_TableVarName="tableEventList" msprop:Generator_TablePropName="EventList" msprop:Generator_RowDeletingName="EventListRowDeleting" msprop:Generator_UserTableName="EventList" msprop:Generator_RowChangingName="EventListRowChanging" msprop:Generator_RowDeletedName="EventListRowDeleted" msprop:Generator_RowChangedName="EventListRowChanged" msprop:Generator_RowEvHandlerName="EventListRowChangeEventHandler" msprop:Generator_RowClassName="EventListRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EventID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnEventID" msprop:Generator_ColumnPropNameInRow="EventID" msprop:Generator_ColumnPropNameInTable="EventIDColumn" msprop:Generator_UserColumnName="EventID" type="xs:int" />
              <xs:element name="EventName" msprop:Generator_ColumnVarNameInTable="columnEventName" msprop:Generator_ColumnPropNameInRow="EventName" msprop:Generator_ColumnPropNameInTable="EventNameColumn" msprop:Generator_UserColumnName="EventName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UsersEventAuthorization" />
      <xs:field xpath="mstns:UserID" />
      <xs:field xpath="mstns:AuthLevelId" />
      <xs:field xpath="mstns:EventID" />
    </xs:unique>
    <xs:unique name="EventList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:EventList" />
      <xs:field xpath="mstns:EventID" />
    </xs:unique>
  </xs:element>
</xs:schema>